/**
 * Created by wry on 2015/1/13.
 */

module.exports = function (app) {
    var CSOps = require('../../controllers/BI/BI-CSOps-controller')

    // Top Users
    app.get('/rest/' + RESTFullServiceVersion + '/BI/reports/getTopUsers/:community/:numPerPage/:filt', CSOps.getTopUsersReport);

    // Top Questions
    app.get('/rest/' + RESTFullServiceVersion + '/BI/reports/getTopQuestions/:community/:numPerPage/:filt', CSOps.getTopQuestionsReport);

    // Top Activities
    app.get('/rest/' + RESTFullServiceVersion + '/BI/reports/getTopActivities/:community/:numPerPage/:filt', CSOps.getTopActivitiesReport);


    //app.get('/rest/' + RESTFullServiceVersion + '/BI/reports/getTopUsers/:community/:numPerPage/:curPage/:filt', report.getTopUsersReport);
};